package ccpv;

public class Factor {
  private int coefficient;
  private Parameter parameter;
  private String name;
	
  
  public Factor(int coefficient, Parameter parameter, String name) {
	  this.setCoefficient(coefficient);
	  this.setParameter(parameter);
	  this.setName(name);
  }


/**
 * @param coefficient the coefficient to set
 */
public void setCoefficient(int coefficient) {
	this.coefficient = coefficient;
}


/**
 * @return the coefficient
 */
public int getCoefficient() {
	return coefficient;
}


/**
 * @param parameter the parameter to set
 */
public void setParameter(Parameter parameter) {
	this.parameter = parameter;
}


/**
 * @return the parameter
 */
public Parameter getParameter() {
	return parameter;
}


/**
 * @param name the name to set
 */
public void setName(String name) {
	this.name = name;
}


/**
 * @return the name
 */
public String getName() {
	return name;
}
	
}
